package com.haoyeteng.sxbd.modular.common.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;
/**
 * 上传接口类
 * @author 理想
 *
 */
public interface IUploadService {

	//新增
	public String addFile(MultipartFile uploadImage, String newFileName) throws IOException;

	//新增
	String addFile(InputStream is, String contentType, String newFileName)throws IOException ;

	//删除
	public Boolean deleteFile(String fileid);

}
